/*
 * @Description  : Blob
 * @Autor        : 杜康
 * @Date         : 2021-08-14 10:18:04 +0800
 * @LastEditors  : 杜康
 * @LastEditTime : 2021-08-14 10:18:56 +0800
 */

/**
 * @description: blob转file
 * @param { Blob } blob
 * @param { String } fileName
 * @return {*}
 * @author: 杜康
 * @Date: 2021-08-14 10:18:15 +0800
 */
const blobToFile = (blob, fileName) => {
    blob.lastModifiedDate = new Date();
    blob.name = fileName;
    return blob;
};

export default {
    blobToFile,
};
